package com.example.othree.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Author zhangmiaohang
 * @Date 2024/09/14
 */

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("drone_observation_count")
public class DroneCount {
    Integer id;
    @TableField("equipment_name")
    String equipmentName;
    @TableField("equipment_number")
    String equipmentNumber;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField("start_time")
    String startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField("end_time")
    String endTime;

}
